<?php include APP_VIEW . 'include/head.php';?>
<section class="collection-head small geopattern" data-pattern-id="<?php if (isset($page_data['title'])): ?>
<?php echo $page_data['title']; ?><br/>
<?php endif?>">
<div class="container">
  <div class="columns">
    <div class="column three-fourths">
      <div class="collection-title">
        <h1 class="collection-header"><?php if (isset($page_data['title'])): ?>
<?php echo $page_data['title']; ?><br/>
<?php endif?></h1>
        <div class="collection-info">

          <span class="meta-info">
            <span class="octicon octicon-calendar"></span> <?php echo $page_data['publish_time']; ?>
            <span class="octicon">阅读：<script type="text/javascript" src="/count/comment/<?php echo $page_data['hash']; ?>"></script>次</span>
          </span>


          <span class="meta-info">
            <span class="octicon octicon-file-directory"></span>
           <a href="<?php echo $page_data['category_url']; ?>" title="<?php echo $page_data['category_name']; ?>"><?php echo $page_data['category_name']; ?></a>
          </span>

        </div>
      </div>
    </div>
  </div>
</div>
</section>
<!-- / .banner -->

<section class="container content">
<div class="columns">
  <div class="column three-fourths" >
    <article class="article-content markdown-body">
    <?php if (isset($page_data['content'])): ?>
<?php echo $page_data['content']; ?><br/>
<?php endif?>
    </article>
    <div class="share">
      <div class="share-component"></div>
    </div>
    <div class="comment">
        <?php include APP_VIEW . 'include/comment.php';?>
    </div>
  </div>
  <?php include APP_VIEW . 'include/sidebar.php';?>
</div>
</section>
<!-- /section.content -->


<?php include APP_VIEW . 'include/foot.php';?>